﻿namespace D.Util.UtilIoc
{
    /// <summary>
    /// 自动注册每次实例化标记
    /// </summary>
    public class TransientAttribute : Attribute
    { }

    /// <summary>
    /// 自动注册请求内单列标记
    /// </summary>
    public class ScopedAttribute : Attribute
    { }

    /// <summary>
    /// 自动注册全局单列标记
    /// </summary>
    public class SingletonAttribute : Attribute
    { }


    /// <summary>
    /// AutoMapper 映射标记
    /// 指定应用目标：类
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class AutoMapperProfileAttribute : Attribute
    { }
}
